package com.wormhole.wormholemanagement;

//import io.jsonwebtoken.SignatureAlgorithm;
//import io.jsonwebtoken.security.Keys;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
//import java.util.Base64;

@SpringBootApplication
public class WormholeManagementApplication {

    public static void main(String[] args) {
        // System.out.println("密码：" + new BCryptPasswordEncoder().encode("Admin@1234"));
//        String base64Key = Base64.getEncoder().encodeToString(
//                Keys.secretKeyFor(SignatureAlgorithm.HS256).getEncoded()
//        );
//        System.out.println("新生成的 Base64 密钥: " + base64Key);

        SpringApplication.run(WormholeManagementApplication.class, args);
    }

}
